#include "DebugDecorator.hpp"

/**
 * @brief  A test class to demonstrate DebugDecorator
 */
class Test {
public:
    Test() {}
    int pMethod1() {
        return 1;
    }
    int pMethod2() {
        return 2;
    }

};

int main(int argc, char** argv)
{
    Test t;
    auto testMethod1 = makeTest([&t](){ return t.pMethod1(); }, "pMethod1");
    auto testMethod2 = makeTest([&t](){ return t.pMethod2(); }, "pMethod2");
    testMethod1();
    testMethod2();
    return 0;
}